package com.prd.mapper;

import com.prd.model.SysUserRoleDO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * 用户与角色关联 Mapper 接口
 * </p>
 *
 * @author lizhaoyi
 * @since 2024-01-09
 */
public interface SysUserRoleMapper extends BaseMapper<SysUserRoleDO> {

    /**
     * 批量新增用户角色信息
     * @param list
     * @return int
     */
    int batchUserRole(List<SysUserRoleDO> list);
}
